//
//  LCSegmentdeControl.h
//  01 - 自定制segmentedControl
//
//  Created by 千锋 on 16/4/12.
//  Copyright (c) 2016年 千锋. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface LCSegmentdeControl : UIView

/**一般颜色*/
@property (nonatomic,strong)UIColor *normalColor;
//选中颜色
@property (nonatomic,strong)UIColor *selectedColor;

//选中分段的下标
@property (nonatomic,assign)NSUInteger selectedSegmentIndex;

//根据选中index来确定CID
@property (nonatomic,copy)NSString *categoryId;

//通过items去创建segmentControl对象
- (instancetype)initWithItems:(NSArray *) array;

//添加事件
- (void)addTarget:(id)target action:(SEL)action;

@end
